﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="News.ascx.cs" Inherits="Module_News" %>
<asp:Repeater ID="rptArticle" runat="server" OnItemDataBound="rptArticle_ItemDataBound">
    <ItemTemplate>
        <div class="rows_itemnews">
            <div class="pic_news">
                <asp:Label ID="lblImage" runat="server" Text=""></asp:Label></div>
            <div class="description_news">
                <p>
                    <a href="<%=Page.ResolveClientUrl("~/") %>chi-tiet-tin/<%# DataBinder.Eval(Container.DataItem,"ArticleID") %>/<%#WebComponents.ConvertType.StripDiacritics(Eval("Title").ToString()) %>-.aspx"
                        class="link_titlenews">
                        <%#DataBinder.Eval(Container.DataItem,"Title") %></a></p>
                <p class="txt_description_news">
                    <%#DataBinder.Eval(Container.DataItem, "Description")%></p>
                <p class="txt_chitiet">
                    <img src="<%=Page.ResolveClientUrl("~/") %>images/ico_arrow.png" alt="xem chi tiết">
                    <a href="<%=Page.ResolveClientUrl("~/") %>chi-tiet-tin/<%# DataBinder.Eval(Container.DataItem,"ArticleID") %>/<%#WebComponents.ConvertType.StripDiacritics(Eval("Title").ToString()) %>-.aspx"
                        title="xem chi tiết" class="link_chitiet">xem chi tiết</a></p>
            </div>
        </div>
        <div class="line_rows_news">
            <img src="<%=Page.ResolveClientUrl("~/") %>images/line_rows.gif" alt=""></div>
    </ItemTemplate>
</asp:Repeater>
<div class="txt_align_page">
    <asp:Literal ID="lblPager" runat="server"></asp:Literal>
</div>
